 <template>
  <div>
    <h1>123456</h1>

    <p @click="tz">跳转</p> 
  </div>
</template>
 <script>
export default {
  data() {
    return {};
  },
  methods: {
    tz(){
      // this.$router.push("/")
      this.$router.replace("./")
    }
  },
  computed: {},
};
</script>
 <style lang='css'>
</style>